package com.ruoyi.attendance.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.client.RestTemplate;

/**
 * @Author: @Weiney
 * @ClassName: BaiduApiConfig
 * @Description: 百度密钥配置文件
 * @Create: 2025-03-08
 **/

@Configuration
public class BaiduApiConfig {
    @Value("${baidu.api-key}")
    private String apiKey;

    @Value("${baidu.secret-key}")
    private String secretKey;

    public String getApiKey() {
        return apiKey;
    }

    public String getSecretKey() {
        return secretKey;
    }
}